Skip to content

Added guides to environment management - #8

Closed
sparafina-earthscope wants to merge 9 commits into
mainfrom
guides
Closed

Added guides to environment management#8
sparafina-earthscope wants to merge 9 commits into
mainfrom
guides

Conversation

@sparafina-earthscope

Copy link
Copy Markdown

added binder_for_images.md, building_custom_images.md, and managing_environments.md

@netlify

netlify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Deploy Preview for earthscope-geolab-docs ready!

Name Link
🔨 Latest commit 3ea3295
🔍 Latest deploy log https://app.netlify.com/projects/earthscope-geolab-docs/deploys/6a95ddf7505e470008a52ccc
😎 Deploy Preview https://deploy-preview-8--earthscope-geolab-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sarahw-earthscope sarahw-earthscope left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content of the new pages is fantastic!

The organization of the whole section now feels chaotic, however. What started as a single page of bullet-summary followed by expanded details for each option, now just feels super redundant with those more detailed options linking out to more pages. I'd love to see one overhead page with a brief summary of the different installation options (this should help users differentiate their use case), and then link to the sub-page for the guide on each one.

Comment thread myst.yml Outdated
Comment thread advanced_topics/env_mgmt.md Outdated
Comment thread advanced_topics/env_mgmt.md Outdated
Comment thread advanced_topics/environments/managing_environments.md Outdated
Comment thread advanced_topics/environments/managing_environments.md
Comment thread advanced_topics/environments/managing_environments.md
Comment thread advanced_topics/environments/managing_environments.md Outdated
Comment thread advanced_topics/env_mgmt.md Outdated
Comment thread advanced_topics/env_mgmt.md Outdated
Comment thread advanced_topics/env_mgmt.md Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see notes linked in the jira ticket for suggested improvements to make this easier for first-time image builders to follow.

@sarahw-earthscope sarahw-earthscope left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See notes linked in the jira ticket for suggested improvements to make this easier for first-time image builders to follow.

@sarahw-earthscope sarahw-earthscope left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content looks really good, just a few suggestions on reorganizing some pieces to make the forks more apparent to new users.

%pip install pkgname
```

For more information about managing environments, go to [`Managing Environments`](./managing_environments.md) for detailed instructions.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link text should match the title of the target page. It's very confusing that the page titled 'Managing Environments' (this one) is not the one named managing_environments.md , and that page is named something else.


While this is the simplest method for building and running a custom image, GeoLab builds the image every time. The build process can take some time and is not ideal for multiple users. By contrast, an image in a repository is pulled directly into JupyterHub and started without waiting for it to be built.

For more information about using Binder, go to [`Binder for Images`](./binder_for_images.md) for detailed instructions on building a repository that works with Binder.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, please make sure the link text matches the page title

Comment thread advanced_topics/environments/managing_environments.md Outdated

Think of an **image** as a recipe and a **container** as a meal made from that recipe. The recipe doesn't change; you can make the same meal over and over. GeoLab does the same thing: it takes your image and launches a fresh session from it every time.

Install Python packages in an image by editing plaintext files that list the required software. A tool called `Docker` reads those files and builds the image. The image must be published in an image repository so GeoLab can access it. Here is the process:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a sentence or two about non-python packages.

Install Python packages in an image by editing plaintext files that list the required software. A tool called `Docker` reads those files and builds the image. The image must be published in an image repository so GeoLab can access it. Here is the process:

```text
Edit config files → Docker builds → Image → Push image to repository → GeoLab runs it

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shows up as a line of code with a scroll bar depending on window width. An ordered list or a table might be a better display option.


---

## Amazon Web Services Public Elastic Container Registry (ECR)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should either be a separate page, OR needs a section link from the top of the page to jump straight to here without scrolling through all the GHCR instructions


### Getting Public ECR Credentials

Authenticate Docker to a public ECR registry. Use the `ecr-public` command, and note that the region **must** be `us-east-1`:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Authenticate Docker to a public ECR registry. Use the `ecr-public` command, and note that the region **must** be `us-east-1`:
Authenticate Docker to a public ECR registry. Use the `ecr-public` command, and note that the region **must** be `us-east-1` for authentication, regardless of the region you regularly work in.

Comment thread advanced_topics/environments/binder_for_images.md Outdated
Comment thread advanced_topics/environments/binder_for_images.md Outdated

---

## GeoLab Binder vs. Custom Image

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this context and table might belong on the environment management index page to help someone choose the right fork before diving into the build instructions. It doesn't hurt to reiterate here to help someone confirm they're in the right place... but they need this information before diving into a custome image build, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants